package com.sleepfish.generator.service;

import com.sleepfish.generator.domain.GenDatabaseInfo;
import com.sleepfish.generator.domain.GenTable;
import com.sleepfish.generator.domain.GenTableColumn;

import java.util.List;

/**
 * @author fumingchao
 * @Description: 添加数据库表信息
 * @date 2022/2/17 19:18
 */
public interface IGenDatabaseInfoService {

    public void savaInfo(GenDatabaseInfo genDatabaseInfo);

    public List<GenTableColumn> tableColumn(List<GenTable> tableList);

    /**
     * 查找所有数据库表信息
     */
    public List<GenTable> selectDbTableList(GenTable genTable);

    List<GenDatabaseInfo> importTableList(String tables);

    void importGenTable(List<GenTable> tableList,String status);

    List<GenTable> selectGenTableList(GenTable genTable);

    List<GenTable> selectGenTableListPro(GenTable genTable);
}
